package com.qifan.energy.bean.result;

import java.util.List;

public class GameStakeResultNotify {

    /**
     * turns : 1
     * starts : [16,20]
     * winer : [20]
     * wined : 2
     * chips : 1
     * results : [{"userid":16,"iswin":-1,"coins":134,"stakeList":[2],"reultList":[-1]},{"userid":20,"iswin":1,"coins":113,"stakeList":[1],"reultList":[1]}]
     */

    private int turns; //当局第几回合
    private int wined; //当前赢多少
    private String chips; //当前底注
    private List<Integer> starts; //当前局开始游戏人的userid
    private List<Integer> winer; //当前赢得人userid
    private List<ResultsBean> results; //当前局游戏玩家结果信息

    public int getTurns() {
        return turns;
    }

    public void setTurns(int turns) {
        this.turns = turns;
    }

    public int getWined() {
        return wined;
    }

    public void setWined(int wined) {
        this.wined = wined;
    }

    public String getChips() {
        return chips;
    }

    public void setChips(String chips) {
        this.chips = chips;
    }

    public List<Integer> getStarts() {
        return starts;
    }

    public void setStarts(List<Integer> starts) {
        this.starts = starts;
    }

    public List<Integer> getWiner() {
        return winer;
    }

    public void setWiner(List<Integer> winer) {
        this.winer = winer;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * userid : 16
         * iswin : -1 //-1:输 0：平局 1：赢
         * coins : 134 //积分余额
         * roundIntegration : //局数
         * stakeList : [2] //该局所有押注
         * reultList : [-1] //该局所有回合结果：-1：输，0：平，1：赢
         */

        private int userid;
        private String nickname;
        private int iswin;
        private int coins;
        private long roundIntegration;
        private List<Integer> stakeList;
        private List<Integer> reultList;

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public int getIswin() {
            return iswin;
        }

        public void setIswin(int iswin) {
            this.iswin = iswin;
        }

        public int getCoins() {
            return coins;
        }

        public void setCoins(int coins) {
            this.coins = coins;
        }

        public long getRoundIntegration() {
            return roundIntegration;
        }

        public void setRoundIntegration(long roundIntegration) {
            this.roundIntegration = roundIntegration;
        }

        public List<Integer> getStakeList() {
            return stakeList;
        }

        public void setStakeList(List<Integer> stakeList) {
            this.stakeList = stakeList;
        }

        public List<Integer> getReultList() {
            return reultList;
        }

        public void setReultList(List<Integer> reultList) {
            this.reultList = reultList;
        }
    }
}
